﻿@model Bricks.Site.Models.ProjectContract.FinishedProjectInfoView

@{
    ViewBag.Title = "编辑项目";
    Layout = "~/Views/Shared/_UserPage.cshtml";
}

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="project-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">项目名称</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="ProjectName" class="easyui-textbox" data-options="required:true" value="@Model.ProjectName" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">完工时间</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="FinishTime" class="easyui-datebox" data-options="required:false" value="@Model.FinishTime" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">概算金额</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="PlanAccount" class="easyui-textbox" data-options="required:false" value="@Model.PlanAccount" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">决算金额</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="FinalAccount" class="easyui-textbox" data-options="required:false" value="@Model.FinalAccount" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">批复文号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="OfficialNum" class="easyui-textbox" data-options="required:false" value="@Model.OfficialNum" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">批复时间</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="OfficialTime" class="easyui-datebox" data-options="required:false" value="@Model.OfficialTime" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">附件</div>
                </td>
                <td class="td" colspan="3">
                    <div class="datagrid-cell">
                        <a href='javascript:void(0)' class='easyui-linkbutton' onclick='$.Upload($("#hID").val(), "ProphaseManagement/FinishedProjectInfo/Attachment")' data-options='plain:true,iconCls:"icon-blue_lego"'>附件操作</a>
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">办理部门及人员</div>
                </td>
                <td class="td" colspan="3">
                    <div class="datagrid-cell">
                        <textarea name="RegisterDepartmentAndUser" cols="68" rows="1" style="width: 510px;background:#eeeeee;" readonly>@Model.RegisterDepartmentAndUser</textarea>
                    </div>
                </td>
            </tr>
        </table>
        <input id="hID" name="ID" type="hidden" value="@Model.ID" />
        <input name="RegisterUserID" type="hidden" value="@Model.RegisterUserID" />
    </form>
</div>
